package objects;

import java.util.ArrayList;

public class Constituent {
	
	private String label;
	private String sense;
	private Concept concept;
	private Features features;
	private Translation translation;
	private Constituent parent;
	private ArrayList<Constituent> constituentList;
	
	public Constituent(){
		concept = new Concept();
		features = new Features();
		translation = new Translation();
		constituentList = new ArrayList<Constituent>();
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getSense() {
		return sense;
	}

	public void setSense(String sense) {
		this.sense = sense;
	}

	public Concept getConcept() {
		return concept;
	}

	public void setConcept(Concept concept) {
		this.concept = concept;
	}

	public Features getFeatures() {
		return features;
	}

	public void setFeatures(Features features) {
		this.features = features;
	}

	public Translation getTranslation() {
		return translation;
	}

	public void setTranslation(Translation translation) {
		this.translation = translation;
	}

	public ArrayList<Constituent> getConstituentList() {
		return constituentList;
	}
	
	public void setParent(Constituent parent) {
		this.parent = parent;
	}
	
	public Constituent getParent() {
		return parent;
	}
	
	public void setConstituentList(ArrayList<Constituent> constituentList) {
		this.constituentList = constituentList;
	}
	
	public void addConstituentListItem(Constituent item){
		constituentList.add(item);
	}
	
	public void addFeatureListItem(Feature item) {
		features.addFeatureListItem(item);
	}
	
}
